home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
mardek_rpg.swf
/
scripts
/
frame_86
/
DoAction.as
Wrap
Text File
|
2011-09-19
|
10KB
|
274 lines
function §\x01\x02§()
{
return 2370 % 511 * 5;
}
var §\x01§ = -840 + "\x01\x02"();
loop0:
while(true)
{
if(eval("\x01") != 790)
{
if(eval("\x01") == 870)
{
set("\x01",eval("\x01") - 699);
nextFrame();
break;
}
if(eval("\x01") != 197)
{
if(eval("\x01") == 641)
{
set("\x01",eval("\x01") - 561);
loop1:
while(true)
{
set("\x01",eval("\x01") + 101);
§§push(eval(function §\x01\x02§()
{
return 2370 % 511 * 5;
}));
while(true)
{
if(eval("\x01") == 325)
{
set("\x01",eval("\x01") - 242);
§§push(true);
}
else if(eval("\x01") == 406)
{
set("\x01",eval("\x01") + 256);
}
else if(eval("\x01") == 408)
{
set("\x01",eval("\x01") - 77);
§§push("\x0f");
}
else
{
if(eval("\x01") == 331)
{
break;
}
if(eval("\x01") == 376)
{
set("\x01",eval("\x01") - 104);
}
else
{
if(eval("\x01") == 662)
{
break loop1;
}
if(eval("\x01") == 432)
{
set("\x01",eval("\x01") + 436);
§§push(!§§pop());
}
else if(eval("\x01") == 353)
{
set("\x01",eval("\x01") + 55);
var §§pop() = §§pop();
}
else if(eval("\x01") == 868)
{
set("\x01",eval("\x01") - 462);
if(§§pop())
{
set("\x01",eval("\x01") + 256);
}
}
else if(eval("\x01") == 905)
{
set("\x01",eval("\x01") - 633);
}
else
{
if(eval("\x01") == 904)
{
set("\x01",eval("\x01") - 528);
break loop0;
}
if(eval("\x01") == 83)
{
set("\x01",eval("\x01") + 821);
if(§§pop())
{
set("\x01",eval("\x01") - 528);
}
}
else
{
if(eval("\x01") != 272)
{
if(eval("\x01") == 976)
{
set("\x01",eval("\x01") - 976);
break loop0;
}
break loop0;
}
set("\x01",eval("\x01") + 81);
§§push("\x0f");
§§push(1);
}
}
}
}
}
}
set("\x01",eval("\x01") + 314);
set("�2\n\x1b",[[1,12,1,10,1,12,1],[7,0,0,0,0,0,7],[0,4,3,3,3,5,7],[0,4,3,3,3,5,0],[0,4,3,3,3,5,0],[0,7,0,0,0,0,0],[0,0,0,0,0,0,0]]);
set("�u�","�\x0b");
set("Ϥ��",§§constant(4));
set(§§constant(5),§§constant(6));
set(§§constant(7),null);
set(§§constant(8),[{§\§\§constant(9)§:§§constant(17),§\§\§constant(11)§:§§constant(18),§\§\§constant(13)§:0,§\§\§constant(14)§:6,§\§\§constant(19)§:-1,§\§\§constant(20)§:§§constant(21)},{§\§\§constant(9)§:§§constant(10),§\§\§constant(11)§:§§constant(12),§\§\§constant(13)§:3,§\§\§constant(14)§:7,§\§\§constant(15)§:[§§constant(16),29,73]}]);
set(§§constant(22),[{§\§\§constant(13)§:3,§\§\§constant(14)§:2,§\§\§constant(23)§:§§constant(24),§\§\§constant(25)§:1,§\§\§constant(24)§:§§constant(26)}]);
set(§§constant(27),[]);
set(§§constant(28),0);
set(§§constant(29),5);
set(§§constant(30),[1,1]);
set(§§constant(31),§§constant(32));
set(§§constant(33),1);
§§constant(34)();
break;
}
if(eval("\x01") == 171)
{
set("\x01",eval("\x01") - 151);
continue;
continue;
}
if(eval("\x01") == 736)
{
set("\x01",eval("\x01") - 595);
§§push("\x0f");
continue;
}
if(eval("\x01") == 343)
{
set("\x01",eval("\x01") + 527);
if(function §\x01\x02§()
{
return 2370 % 511 * 5;
})
{
set("\x01",eval("\x01") - 699);
}
continue;
}
if(eval("\x01") == 628)
{
set("\x01",eval("\x01") - 608);
continue;
}
if(eval("\x01") == 20)
{
set("\x01",eval("\x01") + 546);
§§push(true);
continue;
}
if(eval("\x01") == 566)
{
set("\x01",eval("\x01") + 75);
if(function §\x01\x02§()
{
return 2370 % 511 * 5;
})
{
set("\x01",eval("\x01") - 561);
}
continue;
}
if(eval("\x01") == 708)
{
set("\x01",eval("\x01") - 511);
§§push(!function §\x01\x02§()
{
return 2370 % 511 * 5;
});
continue;
}
}
set("\x01",eval("\x01") + 666);
if(function §\x01\x02§()
{
return 2370 % 511 * 5;
})
{
set("\x01",eval("\x01") - 565);
}
continue;
if(eval("\x01") == 80)
{
set("\x01",eval("\x01") + 793);
continue;
continue;
}
}
set("\x01",eval("\x01") - 447);
§§push(true);
continue;
if(eval("\x01") != 522)
{
if(eval("\x01") != 873)
{
if(eval("\x01") != 103)
{
if(eval("\x01") != 141)
{
if(eval("\x01") != 863)
{
if(eval("\x01") == 298)
{
set("\x01",eval("\x01") + 41);
map = [[2,2,2,2,3,3,3,3,3,2,2,2,2],[2,2,2,10,13,1,12,1,13,7,2,2,2],[2,2,10,16,0,0,0,0,0,17,7,2,2],[2,6,16,0,0,0,0,0,0,0,17,7,2],[2,10,0,0,0,23,20,24,0,0,0,17,4],[6,16,0,0,0,19,18,21,0,0,23,24,4],[6,23,24,0,0,26,22,25,0,0,19,21,4],[6,19,18,24,0,0,0,0,0,23,18,25,4],[6,26,22,18,24,0,0,0,23,18,25,8,2],[2,5,9,26,25,0,0,0,19,21,8,2,2],[2,2,2,5,9,0,0,0,26,25,4,2,2],[2,2,2,2,2,9,11,8,5,2,2,2,2],[2,2,2,2,2,6,0,4,2,2,2,2,2],[2,2,2,2,2,6,0,4,2,2,2,2,2],[2,2,2,2,2,2,15,2,2,2,2,2,2]];
tileset = "t_cave5";
area = "pcave1";
areaname = "Tainted Grotto";
ambience = null;
A_sprites = [{name:"N",model:"area_transition",x:6,y:1,dest:["pcave2",24,21],dir:"s"},{name:"EXIT",model:"area_transition",x:6,y:14,dest:["WORLDMAP",1,1]}];
if(_root.plotVars.VEHRN < 20 || _root.plotVars.VEHRN == null)
{
var VEHRN_STATS = {name:"Vehrn",model:"vehrn",level:5,exp:0,hp:[120,120],mp:[20,20],STR:17,VIT:14,SPR:10,AGL:11,Class:"Paladin",spells:[],weapon:"Bronze Sword",shield:"Bronze Shield",helmet:"none",armour:"Green Chainmail",accessory:"SilverPendant",accessory2:"RingOfSTR",learned:{},reactions:{atk:{R65:null,R83:null,R68:null},def:{R65:null,R83:null,R68:null}},inventory:new Array(56),BASE:{STR:17,VIT:14,SPR:10,AGL:11},element:"LIGHT",nDef:0,nMDef:0};
A_sprites.push({name:"Vehrn",model:"s_vehrn",x:9,y:3,walkspeed:-2,dir:"h",elem:"LIGHT",conv:"c_A_Vehrn",PC_STATS:Clone(VEHRN_STATS)});
}
areaLoot = [];
foes = [];
btlChance = 0;
minSteps = 5;
levelrange = [1,1];
musicTrack = "Dungeon1";
AreaSetup({WARP:1});
EN_ADD("Places","Tainted Grotto");
break;
}
if(eval("\x01") == 339)
{
set("\x01",eval("\x01") - 339);
break;
}
}
set("\x01",eval("\x01") - 565);
continue;
}
set("\x01",eval("\x01") + 567);
§§push(eval(function §\x01\x02§()
{
return 2370 % 511 * 5;
}));
}
set("\x01",eval("\x01") + 633);
var §§pop() = function §\x01\x02§()
{
return 2370 % 511 * 5;
};
continue;
}
set("\x01",eval("\x01") - 770);
§§push("\x0f");
§§push(1);
}
set("\x01",eval("\x01") + 351);
}